<%@taglib uri="/struts-tags" prefix="s"%>
<jcpsm:pageContainer>
<div class="content">


<h1 class="title">Comp off <span>Tracker</span></h1>
	<c:if test="${not empty sessionScope.admin}">
		<c:if test="${not empty sessionScope.approvedUsers}">
		<table class="gridtable" width="90%" border="1" style="box-shadow: 5px 5px 8px #888888;">
		<tr align="center" class="fillgray">
					<td class="heading fillgray">Name/Oracle Id</td>
					<td class="heading fillgray">Email Id</td>
					<td class="heading fillgray">Comp off</td>
					<td class="heading fillgray">Shift Count</td>
				</tr>
			<c:forEach var="userEntry" items="${sessionScope.approvedUsers}">
				<tr align="center">
					<td class="heading">${userEntry.value.name}</br>${users.oracleId}</td>
					<td class="heading">${userEntry.value.emailId}</td>
					<td class="heading">${userEntry.value.compOffCount}</td>
					<td class="heading">${userEntry.value.shiftCount}</td>
 	 			</tr>
			</c:forEach>
		</table>
	</c:if>
</c:if>
</div>
</jcpsm:pageContainer>